import {DataTypes} from "sequelize";
import {sequelize} from "../../config/mysqlDB.js";


const roleModel = sequelize.define('role', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true
  },
  name: {
    type: DataTypes.STRING,
    allowNull: false,
    unique: true,
  },
},{
  timestamps: false,
});
export default roleModel;